package com.yenroc.invoice.constant;


/**
 * 特殊税率税额展示枚举
 */
public enum SpecialTaxRateEnum implements BaseEnum<String> {
    /**
     * 不征税, 税率：不征税；税额：空
     */
    NON_TAX("1", "不征税"),
    /**
     * 免税, 税率：免税；税额：***
     */
    DUTY_FREE("2", "免税"),
    /**
     * 0 税率, 税率：0%；税额：0
     */
    ZERO_TAX_RATE("3", "0%"),
    /**
     * 差额征税, 税率：***, 税额：正常显示
     */
    VARIABLE_LEVY("4", "***");

    private final String code;
    private final String desc;


    SpecialTaxRateEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}